body {
    margin:0;
    padding:0;
    font-family:arial,verdana,san-serif;
    font-size:small;    
    background: #f9fcfe;
}
h1 {
    margin:10px 0;
    padding:0;
    font-size:16px;
    color:blue;
    padding-bottom:5px;
    border-bottom: 2px solid #ccc;
}
h2 {
    margin:8px 0;
    padding:0;
    font-size:14px;
}
h3 {
    margin:15px 0;
    padding:0;
    font-size:12px;
    margin-bottom:5px;
}
h4 {
    margin:3px 0;
    padding:0;
    font-size:12px;
    font-weight:bold;
}
td {
    vertical-align:top;
}

form {
    margin:0;
    padding:0;
}
b {
    color:#4984df;
}
th {
    text-align:left;
}
p {
    margin-top:0;
    line-height:1.2em;
    margin-bottom:1.2em;
}
a:link, a:visited {
    color:blue;
}
code {
    margin:5px 0;
    padding:5px;
    background:#f1f1f1;
    border:1px solid #999;
    display:block;
    font-size:12px;
}
pre {
    font-size:12px;
}
img {border:0;}
fieldset {
    border:1px solid #ccc;
    margin:6px 0;
    padding:10px;
}
legend {
    background: #fff url(../images/admin/nav_bg.gif) bottom left repeat-x;
    padding:5px;
    color:#000;
    font-size:12px;
    font-weight:bold;
    border:1px solid #ccc;
    margin-bottom:10px;
}

/*
 some scaffolding specific stuff
*/
dt {
    font-weight:bold;
}
dd {
    margin-left:5px;
}
/*
 Layout
*/
#header  h1 {
    margin:0;
    padding:0;
    color:#fff;
    font-size:large;
    line-height:35px;
    margin-left:.5em;
    border:0;
}
#header {
    background:#4582DE url(../images/admin/header_bg.gif) repeat-x;
    height:38px;
    border-bottom:1px solid #333
}

#logout, #profile, #view_site {
    float:right;
    color:#fff;
    margin:12px;
    text-decoration:none;
    font-weight:bold;
}
#logout:hover, #profile:hover, #view_site:hover {
    text-decoration:underline;
}
#wrap {
 border-top:1px solid #999;
 background: #f9fcfe;
}

/*
 Navigation
*/

#nav {
    background: #fff url(../images/admin/nav_bg.gif) bottom left repeat-x;
    height:24px;
    line-height:24px;
    padding:0 5px;
    font-size:14px;
    border-bottom:1px solid #999;
}
#nav ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
#nav ul li {
    float:left;
    display:inline;
}

#nav a:link, #nav a:visited {
    margin: 0 5px;
    color:#555;
    text-decoration:none;
    display:block;
    padding:0 3px;
    font-weight:bold;
}

#nav a:hover {
    color:#FFF;
    background:#aaa;
}

#subnav {    
    height:22px;
    line-height:20px;
    padding:0 5px;
    padding-left:0;
    font-size:small;
    margin:1px 0px;
    margin-left:0;
    background:#f2f2f2;
}
#subnav ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
#subnav ul li {
    float:left;
    display:inline;
    margin-right:1px;
}
#subnav a:link, #subnav a:visited {
    border:1px solid #999;
    border-top:0;
    background: #c9c9c9 ;
    margin: 0;
    color:#333;
    text-decoration:none;
    display:block;
    padding:0 3px;
}

#subnav a:hover {
    background:#4984df;
    color:#fff;
}

#content_wrap {
    padding:60px;
    padding-top:0;
}
#add_new, #select_new {
    text-align:center;
    background:#edf3fe;
    padding:4px;
    border:	1px solid rgb(120,172,255);
}
/*
 classes
 */
 .flash_notice {
     background:#FFFEC7;
     border: 1px solid yellow;
     color:#000;
     padding:5px;
     Xmargin:15px 0;
     font-weight:bold;
     font-size:medium;
 }
 .flash {
     background:#D0E2F2;
     border: 1px solid blue;
     color:black;
     padding:5px;
     margin:5px 0;
     color:blue;
 }
 .flash_error {
     background:#F2D0DB;
     border: 1px solid red;
     color:black;
     font-weight:bold;
     font-size:medium;
     padding:5px;
     Xmargin:15px 0;
 }
 .flash_error b {
     color:red;
 }
 .div-delete {
     margin-top:25px;
     display:table;
     width:250px;
     background:#F2D0DB;
     border: 1px solid red;
     color:black;
     padding:5px;
     text-align:center;
 } 
 .alt0 {
     background:#e1e1e1;
 }
 .alt1 {
     background:#edf3fe
 }
.inplaceeditor-saving { 
    background: url(../images/admin/spinner.gif) bottom right no-repeat; 
 }
.section {
    border:	1px solid rgb(120,172,255);
    padding:10px;
    background:#fff;
}

/* pager table defaults */
table.at-container {width:100%}
.at-row0 td {background: #fff;}
.at-row1 td {background: #edf3fe;}
table.at-table {width:100%}
table.at-table td {margin:1px;padding:2px;}
table.at-table th {text-align:center;}
table.at-table {background:#e3e3e3}
.no_records_found {
    padding:10px;
    border: 1px solid #666;
    background:#e1e1e1;
    font-weight:bold;
    text-align:center;
}
#page_template_list ul {
    margin:0;
    padding:0;
    list-style-type:none;
}
#page_template_list li {
    margin: 5px 0;
}
/* autocomplete classes */
#auto_complete {
    position:absolute;
    left:0;
    top:0;
    z-index:9999;
	background-color: #fff;
}
div.auto_complete {
  position:absolute;
  left:0;
  top:0;
  width:250px;
  background-color:white;
  border:1px solid #888;
  margin:0px;
  padding:0px;
  text-align:left;
}
div.auto_complete ul {
  list-style-type: none;
  margin:0px;
  padding:0px;
}
div.auto_complete ul li.selected { background-color: #ffb;}
div.auto_complete ul li {
  list-style-type: none;
  display:block;
  margin:0;
  padding:2px;

}
div.auto_complete b {color:#000}
ul.dashboard_ul {
    list-style-type:none;
    margin:0;
    padding:0;
    margin-bottom: 10px;
}
ul.dashboard_ul li {
    margin:2px 0;
    border: 1px solid #eee;
    padding: 4px;
}

/* all messages up at the top */
#all_messages {
    position:relative;
    text-align:center;
    width:500px;
    margin: 0 auto;
 
}
#all_messages div {
    position:absolute;
    z-index:333;
    width:500px;
    _left:0;
    top:0;
}

/* permissions fix */
#user_permissions:after, #role_permissions:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
#user_permissions, #role_permissions {zoom:1;} /* ie only */

span.hint_text {
    font-size:x-small;
    color:#666;
    font-style:italic;
}
img#busy {
	position:fixed;
    position:fixed;
    _position:absolute; /* ie hack */
    right:10px;
    top:65px;
    background:#000;
    color:white;
    font-size:9pt;
    padding:5px;
    display:block;
}